package com.pjh.shitang.entitys;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yueyinghaibao
 * @date 2022/5/1
 */
@TableName("db_likes")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Likes {
    @TableId("lid")
    Integer lid;
    String froms;
    Integer tos;
    String type;

    public Likes(String froms, Integer tos, String type) {
        setFroms(froms);
        setTos(tos);
        setType(type);
    }
}
